define(function(require, exports, module) {
    "use strict";
    var $ = require("$");
    window.bangOpen=function(data){
    	var $p=$("."+data.model),$open=$(".js_bopen",$p),$close=$(".js_bclose",$p),
        $show=$(".js_bshow",$p);
        $open.addClass('hide');
        $close.removeClass("hide");
        $show.html(data.msg);
    }
    window.bangClose=function(data){
    	var $p=$("."+data.model),$open=$(".js_bopen",$p),$close=$(".js_bclose",$p),
        $show=$(".js_bshow",$p);
        $close.addClass('hide');
        $open.removeClass("hide");
        $show.html(data.msg);
    }

});